using System;
using System.Collections.Generic; 
using System.Linq;  
using System.Text;    
using System.Data.Linq.Mapping;
namespace MRSite.Entity
{
    /// <summary>
    /// 用户月数据统计
    /// </summary>
    [Table(Name = "report_user_tongji_month")]
    public class UserTongJi_Month : Entity
    {
        /// <summary>
        ///自增ID
        /// </summary>
        [Column(Name = "id", IsPrimaryKey = true, CanBeNull = false, IsVersion = true)]
        public override int id { get; set; }

        /// <summary>
        ///名称
        /// </summary>
        [Column(Name = "title")]
        public String title { get; set; }

      

        /// <summary>
        /// 新增团队业绩 
        /// </summary>
        [Column(Name = "teamyeji")]
        public decimal teamyeji { get; set; }

     
        /// <summary>
        /// 团队奖励  
        /// </summary>
        [Column(Name = "teamjl")]
        public decimal teamjl { get; set; }


        /// <summary>
        /// 年
        /// </summary>
        [Column(Name = "year")]
        public int year { get; set; }

        /// <summary>
        /// 月
        /// </summary>
        [Column(Name = "month")]
        public int month { get; set; }


        /// <summary>
        /// 日
        /// </summary>
        [Column(Name = "day")]
        public int day { get; set; }

        /// <summary>
        /// 用户id
        /// </summary>
        [Column(Name = "userid")]
        public int userid { get; set; }

        /// <summary>
        /// 用户名
        /// </summary>
        [Column(Name = "username")]
        public String username { get; set; }

        /// <summary>
        /// 级别
        /// </summary>
        [Column(Name = "levels")]
        public int levels { get; set; }

          /// <summary>
        /// 添加时间
        /// </summary>
        [Column(Name = "addtime")]
        public DateTime addtime { get; set; }

        /// <summary>
        /// 推荐人数
        /// </summary>
        [Column(Name = "tjcount")]
        public int tjcount { get; set; }

         /// <summary>
        /// 消费金额
        /// </summary>
        [Column(Name = "orderamount")]
        public decimal orderamount { get; set; }

        /// <summary>
        /// 推荐实名认证人数
        /// </summary>
        [Column(Name = "tjcount_rz")]
        public int tjcount_rz { get; set; }

        /// <summary>
        /// 有效推荐人数(实名认证+贡献值3万)
        /// </summary>
        [Column(Name = "yxtjcount")]
        public int yxtjcount { get; set; }
         
    }


}  


